package com.sxf.redis.properties;

import java.util.List;

/**
 * @description: 哨兵模式
 * @author: zhangyb@ccccit.com.cn
 * @date: 2021年1月4日 上午9:20:59
 */
public class SentinelProperties extends RedissonBaseProperties {
	private List<String> sentinelAddresses;
	private String masterName = "mymaster";
	private int database = 0;

	public List<String> getSentinelAddresses() {
		return sentinelAddresses;
	}

	public void setSentinelAddresses(List<String> sentinelAddresses) {
		this.sentinelAddresses = sentinelAddresses;
	}

	public String getMasterName() {
		return masterName;
	}

	public void setMasterName(String masterName) {
		this.masterName = masterName;
	}

	public int getDatabase() {
		return database;
	}

	public void setDatabase(int database) {
		this.database = database;
	}

}
